import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-controlability',
  templateUrl: './controlability.component.html',
  styleUrls: ['./controlability.component.css']
})
export class ControlabilityComponent implements OnInit {
  // 在线注册弹出框
  registerIsVisable=false;
  // 在线注册单选框
  radioValue = 'A';
  //在线注册输入框
  value='';
  //固件升级弹出框
  updateIsVisable=false;
  constructor() { }

  ngOnInit(): void {
  }
  handleOk(): void {
    console.log('Button ok clicked!');
    this.registerIsVisable = false;
  }
  handleCancel(): void {
    console.log('Button ok clicked!');
    this.registerIsVisable = false;
  }
  //固件升级确认
  updateOk():void{
    this.updateIsVisable=false;
  }
  //固件升级取消
  updateCancel():void{
    this.updateIsVisable=false;
  }
  //固件升级模态框
  showUpdateModal():void{
    this.updateIsVisable=true;
  }

}
